package com.meida.module.mdtj.provider.handler;

import com.meida.common.base.handler.AdminLoginHandler;
import com.meida.common.base.module.LoginParams;
import com.meida.common.mybatis.model.ResultBody;
import com.meida.common.utils.RedisUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import java.util.Map;


/**
 * 登录前校验
 * @author zyf
 */
@Component
public class AdminLoginVirboxHanadler implements AdminLoginHandler {

    @Autowired
    RedisUtils redisUtils;

    @Override
    public ResultBody beforLogin(LoginParams loginParams) {

        return new ResultBody();
    }

    @Override
    public ResultBody afterLogin(Map<String, Object> map, LoginParams loginParams) {
        return ResultBody.ok();
    }
}
